ExternalResourceReference(Guid, IDictionary<String, String>, String, String)
Description:
Creates a new ExternalResourceReference from the given data.
Creates a new ExternalResourceReference from the given data.
Overloads (2):
ExternalResourceReference(Guid,IDictionary[String,String],String,String)
public ExternalResourceReference(
Guid serverId,
IDictionary<string, string> referenceInformation,
string version,
string inSessionPath
)
-
GuidserverIdThe id of the server associated with this ExternalResourceReference. The server must implement IExternalResourceServer.
-
IDictionary<StringString>referenceInformationThe (String, String) map containing reference or lookup information that will be stored in Revit.
-
StringversionThe version of the external data.
-
StringinSessionPathThe path that identifies a resource in server. ExternalResourceServer must provide this path which should not contain the server name. Revit internally will construct and store the full display path which includes the server name plus this path at the time a resource is loaded into the model for use if the server is missing.
-
A non-optional argument was null
-
The file is not allowed to access.